home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
gnused.zip
/
GNUSED
/
GETPAGSZ.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-06
|
689b
|
37 lines
/* TimF@microsoft.com: 19-MAR-92 Port to Microsoft's Windows NT (tm) */
#ifdef BSD
#ifndef BSD4_1
#define HAVE_GETPAGESIZE
#endif
#endif
#ifndef HAVE_GETPAGESIZE
#ifdef VMS
#include "param.h"
#else
#ifndef WINDOWSNT
#include <sys/param.h>
#endif /* !WINDOWSNT */
#endif
#ifdef EXEC_PAGESIZE
#define getpagsz() EXEC_PAGESIZE
#else
#ifdef NBPG
#define getpagsz() NBPG * CLSIZE
#ifndef CLSIZE
#define CLSIZE 1
#endif /* no CLSIZE */
#else /* no NBPG */
#ifdef WINDOWSNT
#define getpagsz() 4096
#else /* !WINDOWSNT */
#define getpagsz() NBPC
#endif /* !WINDOWSNT */
#endif /* no NBPG */
#endif /* no EXEC_PAGESIZE */
#endif /* not HAVE_GETPAGESIZE */